#include "looplink.h"
int main(int argc, const char *argv[])
{
	int n;
	int m;
	printf("输入人数n：");
	scanf("%d",&n);
	printf("输入数m：");
	scanf("%d",&m);
	loopLink *L=list_create();
	for(int i=1;i<=n;i++)
	{
		list_insert_tail(L,i);
	}
	loopLink *S=delete_head(L);
	printf("新序列为：");
	circle(S,m);
	return 0;
}
